package ru.susu.algebra.partition;
/**
 * @author akargapolov
 * @since: 18.03.2009
 */
public class PartitionsFactory
{
	public static Partition createPartition(Integer[] array)
	{
		return new OrderBasedPartition(array);
	}

	public static Partition createPartition(Integer order, Integer n)
	{
		return new OrderBasedPartition(order, n);
	}
}
